package com.lhg.mapper;

import com.lhg.entity.Dimension;
import com.lhg.entity.Rate;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface MemberMapper {
    void insertDimension(Dimension dimension);

    List<Dimension> selectDimension(Integer userId);

    Dimension selectById(Integer editId);

    void deleteById(Integer editId);

    List<Rate> selectByInfoId(Integer infoId);

    void updateByIdName(Integer infoId, String name, Integer value);

    void insertByIdName(Integer infoId, String name, Integer value);
}
